<script>
	export default {
		onLaunch() {
			uni.onTabBarMidButtonTap(function(){
				uni.showActionSheet({
				    itemList: ['发布文章', '发布视频'],
				    success: function (res) {
				        if(res.tapIndex===0)
							uni.navigateTo({
								url:'/pages/page/article_upload'
							})
						else
							uni.navigateTo({
								url:'/pages/page/video_upload'
							})
				    }
				});
			})
		}
	}
</script>

<style>
</style>
